package com.xy.breakfast.entity;

import java.sql.Timestamp;
import java.util.Objects;

public class Products implements java.io.Serializable{
    private int id;
    private int ordersId;
    private Timestamp takeTime;
    private Byte isPack;
    private String address;
    private int state; //0 未制作 1 制作完成

    public Products() {
    }

    public Products(int id, int ordersId, Timestamp takeTime, Byte isPack, String address, int state) {
        this.id = id;
        this.ordersId = ordersId;
        this.takeTime = takeTime;
        this.isPack = isPack;
        this.address = address;
        this.state = state;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrdersId() {
        return ordersId;
    }

    public void setOrdersId(int ordersId) {
        this.ordersId = ordersId;
    }

    public Timestamp getTakeTime() {
        return takeTime;
    }

    public void setTakeTime(Timestamp takeTime) {
        this.takeTime = takeTime;
    }

    public Byte getIsPack() {
        return isPack;
    }

    public void setIsPack(Byte isPack) {
        this.isPack = isPack;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
